<template>
	<view class="scroll-y-page">
		<view class="scroll-y-box">
			<scroll-y :items="items" v-model="current"></scroll-y>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				items: [
					{name:'分类一'},
					{name:'分类二'},
					{name:'分类三'},
					{name:'分类四'},
					{name:'分类五'},
					{name:'分类六'},
					{name:'分类七'},
					{name:'分类八'},
					{name:'分类九'},
					{name:'分类十'},
					{name:'分类十一'},
					{name:'分类十二'},
					{name:'分类十三'},
					{name:'分类十四'},
					{name:'分类十五'},
					{name:'分类十六'},
					{name:'分类十七'},
					{name:'分类十八'},
					{name:'分类十九'},
					{name:'分类二十'},
					{name:'分类二一'},
					{name:'分类二二'},
					{name:'分类二三'},
					{name:'分类二四'},
					{name:'分类二五'}
				],
				current: 1
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
.scroll-y-page, .scroll-y-box{
	height: 100%;
}
.scroll-y-box{
	width: 200upx;
}
</style>
